package com.easy.bean;

import java.math.BigDecimal;

public class Orderinfo {

    private int orderinfoid;

    private int orderid;

    private int productid;

    private int count;

    private BigDecimal price;

    private String productname;

    private String imgurl;

    private int isdel;

    private Product product;

    private Order order;

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public int getOrderinfoid() {
        return orderinfoid;
    }

    public void setOrderinfoid(int orderinfoid) {
        this.orderinfoid = orderinfoid;
    }

    @Override
    public String toString() {
        return "Orderinfo{" +
                "orderinfoid=" + orderinfoid +
                ", orderid=" + orderid +
                ", productid=" + productid +
                ", count=" + count +
                ", price=" + price +
                ", productname='" + productname + '\'' +
                ", imgurl='" + imgurl + '\'' +
                ", isdel=" + isdel +
                ", product=" + product +
                ", order=" + order +
                '}';
    }
}
